﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
//using System.ServiceModel;
using System.Text;
using com.Bliss.Infrastructure;

namespace com.Bliss.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IUserService" in both code and config file together.
    //[ServiceContract]
    public interface IUserService
    {
        //[OperationContract]
        TypedCollectionResponse<Bliss.User> GetUsers(int companyId);
        TypedResponse<Bliss.User> GetUser(int userID);
        TypedResponse<Bliss.User> ValidateUserLogin(string email, string password);
        TypedCollectionResponse<com.Bliss.User> GetFriends(int userID, int companyId);
        void CreateGroup(int userId, string groupName, string Description);
        bool IsUserInRole(int userId, string RoleName);
    }
}
